﻿using UnityEngine;
using System.Collections;
using UnityEditor;

public class ExportAB
{

    [@MenuItem("UEngine/ExportAB")]
    public static void Export()
    {
        string tagetPath = Application.dataPath + "/StreamingAssets";
        BuildPipeline.BuildAssetBundles(tagetPath, 0, EditorUserBuildSettings.activeBuildTarget);
    }
}
